home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / Virtual User 1.0 / Virtual User / VU.Help < prev   
Text File  |  1991-01-25  |  5KB  |  101 lines

  1. -
  2. VU                # Virtual User test tool
  3. Usage: 
  4. VU [ option…]
  5.  
  6. Description:
  7. Test tool for simulating one to many users. Runs user-interface level test scripts
  8. on one or more target machines connected with AppleTalk. 
  9.  
  10. Options:
  11. To make control of multiple targets more flexible from the command line,
  12. each of the following option flags (except -libs and -vers) can occur repeatedly and
  13. be suffixed by a number. The number can be used to group options that apply to a 
  14. particular target. 
  15.  
  16.  -t  targetname        # Acquire control of the target on which the test is to be performed
  17.                     # The target name is specified by giving its network path name, namely,
  18.                     # <zone>:<target's Chooser User Name> 
  19.                     # If the target is on a local or private network then the zone name to be
  20.                     # used is *  
  21.                     # Always enclose the target name within " or '
  22.  
  23.  -a actorname          # This specifies the name of an actor.  An actor may be assigned a script and
  24.                     # a target via the command line with the “-s” and “-t” options.  If you do not
  25.                     # specify an actor name from the command line, VU creates an actor 
  26.                     # anyway to run the script on the specified target.
  27.                     # The actor’s name is assigned to the target address, i.e. “*:TargetMac”.
  28.                     # If you haven’t specified a target from the command line, then you must specify
  29.                     # an actor.
  30.  
  31.  -s  pathname         # Pathname of the script file to be run against the corresponding target
  32.  
  33.  -libs searchpath    # This is used to specify the search path for VU to access task libraries. 
  34.                      # VU always looks for the declared libraries in the current directory first.
  35.                     # If not found, it makes use of the search path provided on the command line
  36.                     # (if any) and finally it checks the MPW variable “VULibraries” for a search
  37.                     # path. By default this variable will be set to your “…:Virtual User:Libraries”
  38.                     # folder by the provided “UserStartup•VU” MPW script (if you are using it).
  39.  
  40.  -c                  # compile only. Used if you just want to test the syntax of your script,
  41.                     # without running it. If you use this option you need not specify the target.
  42.  
  43.  -l  pathname         # The name of the log file. The form of specification is same as in -s  option.
  44.                     # If you use this option, VU will write some important information about 
  45.                     # the test along with any error/warning messages in the specified file. 
  46.  
  47.  -dt                  # Write a diagnostic trace to the specified log file. Used only if you have
  48.                     # specified the log file
  49.  
  50.  -o  pathname         # Redirect the output of print and println statements from standard output to
  51.                     # another file
  52.  
  53.  -m  mousespeed        # Set the speed of mouse movement on the target (a positive integer)
  54.  
  55.  -k keyboardrate    # Set the maximum rate of keystrokes(type speed) on the target  (a positive integer)
  56.  
  57.  -cs                 # This option can be used to make VU's string matching case sensitive
  58.  
  59.  -p    patience        # Set the patience of VU in exploring and manipulating the interface (a positive integer)
  60.  
  61.  -retries n            # Set the maximum number of retries on a network transaction  (a positive integer)
  62.  
  63.  -timeout n            # Set the maximum number of seconds to wait for a network response  (a positive integer)
  64.  
  65.  -fail n            # Set the maximum number of failures allowed. VU will abort on (n+1)th failure  (a positive integer)
  66.  
  67.  -vers                # This is used to get the version information of VU.
  68.  
  69. Examples:
  70. VU -s QuickLook.vu -t "*:MacSE30"
  71.     Executes the test script in QuickLook.vu on the machines whose chooser name is MacSE30 and 
  72.     which resides in the local zone.
  73.  
  74. VU     -t1 "*:gozer" -s1 "AdminTest.vu" -o1 "AdminTest.out" ∂
  75.     -t2 "*:chuck" -s2 "BusyWorkstation.vu" -o2 "BusyWS.out" -m2 0 -k2 50 ∂
  76.     -t3 "Farside:Twiddledee" -s2 "LazyWorkstation.vu" -o3 "LazyWS.out" -m3 1 -k3 5
  77.     Runs three different test scripts concurrently:
  78.     1)    AdminTest.vu is run against gozer and the println output of that script 
  79.         is sent to AdminTest.out.
  80.     2)    BusyWorkstation.vu is run against chuck and the standard output of that 
  81.         script is written to BusyWS.out. The mouse and keyboard rate for this test
  82.         are set to high values.
  83.     3)    LazyWorkstation.vu is run against Twiddledee in the Farside zone and the
  84.         output is sent to LazyWS.out. The mouse and keyboard for this test are
  85.         set to slow values.
  86.         
  87. VU    -a1 ‘Actor1’ -s1 ‘TestScript1.vu’ -l1 ‘TestScript1.log’ ∂
  88.     -o1 ‘TestScript1.out’ ∂
  89.     -a2 ‘Actor2’ -s2 ‘TestScript2.vu’ -l2 ‘TestScript2.log’ ∂
  90.     -o2 ‘TestScript2.out’ ∂
  91.     -libs ‘HD:Virtual User:MyScripts:Libraries:’ 
  92.  
  93.     In the above command line either or both of the scripts can be using libraries.
  94.     The same search path is used for all scripts. Note that you are specifying only a 
  95.     search path to locate the libraries. Some of your libraries may reside in this 
  96.     specified directory and some may reside in your current directory and some may 
  97.     even reside in another directory whose path name is specified by setting the MPW
  98.     shell variable “VULibraries”.  
  99.  
  100. -
  101.